#!/bin/bash

# 检查是否传入了年份参数
if [ -z "$1" ]; then
  echo "Usage: $0 <year>"
  exit 1
fi

# 获取年份参数
year=$1

# 下载
aria2c -x 10 -i urls/gharchive_urls_$year.txt --allow-overwrite -d /home/root/$year
